package org.br.plotter.functions;

public class NestedFunction extends Function {
	private Function variable;

	public NestedFunction(Function var) {
		this.variable = var;
	}

	public double eval(double x) {
		return variable.eval(x);
	}
}